{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post">	
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">卫生地段责任表</p>
                   
                </div>
                   <div class="box-body">
                       <h4 class="text-center">**{%$semester_data.semester_xname%}{%$semester_data.semester_name%}各班负责卫生地段责任表</h4>
                      <div class="form-group" style="margin-top:20px;">
						  <label for="inputPassword3" class="col-sm-1 control-label" style="padding-right:0; padding-left:0; font-weight:500; margin:0;">
							    区域名称：
						  </label>
						  <div class="input-group col-sm-4 col-xs-12">
							     <input type="text" class="form-control" name="explain_name">
						  </div> 
				      </div>
                      <table class="table table-bordered"  id="mytable">
                              <thead>
                                    <tr>
									    <td>班级</td>
                                        <td>常规地段</td>
                                        <td>其它地段</td>
                                    </tr>
                             </thead>
                             <tbody>
								{%foreach from=$class_lists key=key item=value%}
                                    <tr>
									    <td>{%$value.class_name%}</td>
                                        <td><input type='text' class='form-control' name='district_rule_{%$value.class_id%}[]' /></td>
                                        <td><input type='text' class='form-control' name='district_rests_{%$value.class_id%}[]'/></td>
                                    </tr>
                                 {%/foreach%}   
                            </tbody>		
                        </table>
                        <div class="col-sm-10" style="padding-left:0;">
                            <textarea rows="4" class=" form-control" placeholder="说明" name="explain_content"></textarea>
                        </div>
				   </div><!--box-body -->
                   <div class="box-footer text-center">
                      <button type="submit" class="btn btn-primary">确 定</button>
                   </div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
